import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入全局样式清除
import 'reset-css'
// 手动导入vant 组件
import 'vant/lib/index.css'
import
{
  Tab,
  Tabs,
  Swipe,
  SwipeItem,
  Tabbar,
  TabbarItem,
  Search,
  NavBar,
  Grid,
  GridItem,
  Card,
  Icon,
  Tag,
  Button,
  PullRefresh,
  Skeleton,
  Popup,
  Form,
  Field,
  Cell
} from 'vant'
import VueRouter from 'vue-router'

Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Search)
Vue.use(NavBar)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Card)
Vue.use(Icon)
Vue.use(Tag)
Vue.use(Button)
Vue.use(PullRefresh)
Vue.use(Skeleton)
Vue.use(Popup)
Vue.use(Form)
Vue.use(Field)
Vue.use(Cell)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
